package cn.kp.learning.service;
import java.util.HashMap;
import java.util.List;
import cn.kp.learning.model.CoreUserPermission;
import cn.kp.learning.model.CoreUserPermissionExample;
public interface CoreUserPermissionService {
	
	int addUserPermission(CoreUserPermission cup);
	
	int deleteUserPermission(int id);
	
	int countPermission(CoreUserPermissionExample example);
	
	List<CoreUserPermission> getPermissionList(CoreUserPermissionExample example);

    CoreUserPermission getPermission(HashMap<String,Object> hm);
}
